The Grammar based parser consists of three parts. The lexicon, grammars and semantics. All three parts are defined within a text file (rules.txt) so that they can be updated conveniently.

\subsubsection{Lexicon}
\input{lexicon}

\subsubsection{Grammars}
\input{grammars}

\subsubsection{Semantics}
\input{semantics}